package com.lanchetech.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 奖品表
 *
 * @TableName blind_box_prize
 */
@Data
@ApiModel(value = "com.lanchetech.entity.BlindBoxPrize")
@AllArgsConstructor
@NoArgsConstructor
public class BlindBoxPrize implements Serializable {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 盲盒ID
     */
    @ApiModelProperty(value = "盲盒ID")
    private Long blindBoxId;

    /**
     * 奖品名称
     */
    @ApiModelProperty(value = "奖品名称")
    private String prizeName;

    /**
     * 类型(1普通，2稀有，3尊贵，4奢华)
     */
    @ApiModelProperty(value = "类型(1普通，2稀有，3尊贵，4奢华)")
    private Byte type;

    /**
     * 参考概率
     */
    @ApiModelProperty(value = "参考概率")
    private BigDecimal consultRate;

    /**
     * 参考价
     */
    @ApiModelProperty(value = "参考价")
    private BigDecimal consultPrice;

    /**
     * 中奖概率
     */
    @ApiModelProperty(value = "中奖概率")
    private BigDecimal realRate;

    /**
     * 成本价
     */
    @ApiModelProperty(value = "成本价")
    private BigDecimal costPrice;

    /**
     * 盈利价
     */
    @ApiModelProperty(value = "盈利价")
    private BigDecimal profitPrice;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date created;

    /**
     * 是否展示   false 关闭  true 开启
     */
    @ApiModelProperty(value = "是否展示   false 关闭  true 开启")
    private boolean whether;

    /**
     * 商家/租户ID
     */
    @ApiModelProperty(value = "商家/租户ID")
    private Long tenantId;

    private static final long serialVersionUID = 1L;

}